package day02;

import java.util.Arrays;

public class VarDemo {
    public static void main(String[] args) {
        int a,b,c;
        int d=20;
        a=20;
        b=14;
        c=15;
        double e=20.3;
        boolean f=false;
        char g='a';
        float i;
        byte j;
        char 年龄='a';
        short m;
        年龄=2;
        System.out.println();
        System.out.println("VarDemo.main");
        System.out.println("args = " + Arrays.toString(args));
        System.out.println("j = " + a);
        double balance=1000;
        balance=balance-100;

        if(a+b<30){
            f=true;
        }
        else if(b+c>20){
            f=false;
        }
        if(f=true){
            System.out.println(a);
        }else {
            System.out.println(c);
        }




    }
}
